﻿<Page
    x:Class="Antares.VIEWs.PrivacyPolicyPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Width="346"
    xmlns:local="using:Antares.VIEWs"
    KeyDown="PageKeyDown"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Transitions>
        <TransitionCollection>
            <PaneThemeTransition Edge="Right"/>
        </TransitionCollection>
    </Page.Transitions>

    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="9*"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" Background="#FF3C81BA">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1.1*"/>
                <ColumnDefinition Width="4*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="1"  TextWrapping="Wrap" Text="{Binding Resource[MainTitle_10]}"  FontSize="36" FontFamily="Segoe UI Light" Foreground="White" VerticalAlignment="Center"/>
            <Button Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" x:Name="backButton" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource AppBarButtonStyle}"
                 FontFamily="Segoe UI Symbol" FontSize="18" Foreground="White"
                 Padding="0,0,0,0" 
                 Content="&#xE112;" Width="auto" Background="#B33C81BA" Height="65" Tapped="backButton_Tapped" />
        </Grid>
        <!-- ############################ -->
        <Grid Grid.Row="1"
              Margin="40,0,0,0">
            <StackPanel Orientation="Vertical">
                <TextBlock x:Name="teamDes" Text="We aim to collect the minimum amount of information necessary to provide a good game experience. For the most part, information is collected automatically as part of running the game. The only information we collect directly tied to you as an individual is your PC's Name" 
                           TextWrapping="Wrap"
                           FontSize="16"
                           Margin="0,10,35,0"/>
                <TextBlock  Text="We only access to network capabilities to support Multiplay Game through Local Area Network and dont use your information for other purposes" 
                           TextWrapping="Wrap"
                           FontSize="16"
                           Margin="0,10,35,0"/>
                <TextBlock  Text="How We Collect Your Information:
                            The game automatically get your PC's name with our application" 
                           TextWrapping="Wrap"
                           FontSize="16"
                           Margin="0,10,35,0"/>
                <TextBlock  Text="How Do We Use Your Information:
                            The information we collect is used to find compatible multiplayer games with other players in Local Area Network" 
                           TextWrapping="Wrap"
                           FontSize="16"
                           Margin="0,10,35,0"/>
            </StackPanel>
        </Grid>
        <VisualStateManager.VisualStateGroups>

            <!-- Visual states reflect the application's view state -->
            <VisualStateGroup x:Name="ApplicationViewStates">
                <VisualState x:Name="FullScreenLandscape"/>
                <VisualState x:Name="Filled"/>

                <!-- The entire page respects the narrower 100-pixel margin convention for portrait -->
                <VisualState x:Name="FullScreenPortrait">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PortraitBackButtonStyle}"/>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>

                <!-- The back button and title have different styles when snapped -->
                <VisualState x:Name="Snapped">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedBackButtonStyle}"/>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pageTitle" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedPageHeaderTextStyle}"/>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
    </Grid>
</Page>